package com.example.eventbusdemo.events;

/**
 * @author wdl
 */
public class MessageEvent {
    private  String message;
    /**
     * 当有多个注册消息时可以通过增加消息类型来辨别
     */
    private int messageType;

    public MessageEvent(String message,int messageType) {
        this.message = message;
        this.messageType=messageType;
    }

    public String getMessage() {
        return message;
    }

    public int getMessageType() {
        return messageType;
    }
}
